package com.rongxue.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPayPasswordIsNull() {
            addCriterion("pay_password is null");
            return (Criteria) this;
        }

        public Criteria andPayPasswordIsNotNull() {
            addCriterion("pay_password is not null");
            return (Criteria) this;
        }

        public Criteria andPayPasswordEqualTo(String value) {
            addCriterion("pay_password =", value, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordNotEqualTo(String value) {
            addCriterion("pay_password <>", value, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordGreaterThan(String value) {
            addCriterion("pay_password >", value, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("pay_password >=", value, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordLessThan(String value) {
            addCriterion("pay_password <", value, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordLessThanOrEqualTo(String value) {
            addCriterion("pay_password <=", value, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordLike(String value) {
            addCriterion("pay_password like", value, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordNotLike(String value) {
            addCriterion("pay_password not like", value, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordIn(List<String> values) {
            addCriterion("pay_password in", values, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordNotIn(List<String> values) {
            addCriterion("pay_password not in", values, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordBetween(String value1, String value2) {
            addCriterion("pay_password between", value1, value2, "payPassword");
            return (Criteria) this;
        }

        public Criteria andPayPasswordNotBetween(String value1, String value2) {
            addCriterion("pay_password not between", value1, value2, "payPassword");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNull() {
            addCriterion("real_name is null");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNotNull() {
            addCriterion("real_name is not null");
            return (Criteria) this;
        }

        public Criteria andRealNameEqualTo(String value) {
            addCriterion("real_name =", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotEqualTo(String value) {
            addCriterion("real_name <>", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThan(String value) {
            addCriterion("real_name >", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("real_name >=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThan(String value) {
            addCriterion("real_name <", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThanOrEqualTo(String value) {
            addCriterion("real_name <=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLike(String value) {
            addCriterion("real_name like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotLike(String value) {
            addCriterion("real_name not like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameIn(List<String> values) {
            addCriterion("real_name in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotIn(List<String> values) {
            addCriterion("real_name not in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameBetween(String value1, String value2) {
            addCriterion("real_name between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotBetween(String value1, String value2) {
            addCriterion("real_name not between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthIsNull() {
            addCriterion("real_name_auth is null");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthIsNotNull() {
            addCriterion("real_name_auth is not null");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthEqualTo(Integer value) {
            addCriterion("real_name_auth =", value, "realNameAuth");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthNotEqualTo(Integer value) {
            addCriterion("real_name_auth <>", value, "realNameAuth");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthGreaterThan(Integer value) {
            addCriterion("real_name_auth >", value, "realNameAuth");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthGreaterThanOrEqualTo(Integer value) {
            addCriterion("real_name_auth >=", value, "realNameAuth");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthLessThan(Integer value) {
            addCriterion("real_name_auth <", value, "realNameAuth");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthLessThanOrEqualTo(Integer value) {
            addCriterion("real_name_auth <=", value, "realNameAuth");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthIn(List<Integer> values) {
            addCriterion("real_name_auth in", values, "realNameAuth");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthNotIn(List<Integer> values) {
            addCriterion("real_name_auth not in", values, "realNameAuth");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthBetween(Integer value1, Integer value2) {
            addCriterion("real_name_auth between", value1, value2, "realNameAuth");
            return (Criteria) this;
        }

        public Criteria andRealNameAuthNotBetween(Integer value1, Integer value2) {
            addCriterion("real_name_auth not between", value1, value2, "realNameAuth");
            return (Criteria) this;
        }

        public Criteria andCardTypeIsNull() {
            addCriterion("card_type is null");
            return (Criteria) this;
        }

        public Criteria andCardTypeIsNotNull() {
            addCriterion("card_type is not null");
            return (Criteria) this;
        }

        public Criteria andCardTypeEqualTo(Integer value) {
            addCriterion("card_type =", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotEqualTo(Integer value) {
            addCriterion("card_type <>", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeGreaterThan(Integer value) {
            addCriterion("card_type >", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("card_type >=", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeLessThan(Integer value) {
            addCriterion("card_type <", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeLessThanOrEqualTo(Integer value) {
            addCriterion("card_type <=", value, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeIn(List<Integer> values) {
            addCriterion("card_type in", values, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotIn(List<Integer> values) {
            addCriterion("card_type not in", values, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeBetween(Integer value1, Integer value2) {
            addCriterion("card_type between", value1, value2, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("card_type not between", value1, value2, "cardType");
            return (Criteria) this;
        }

        public Criteria andCardNoIsNull() {
            addCriterion("card_no is null");
            return (Criteria) this;
        }

        public Criteria andCardNoIsNotNull() {
            addCriterion("card_no is not null");
            return (Criteria) this;
        }

        public Criteria andCardNoEqualTo(String value) {
            addCriterion("card_no =", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotEqualTo(String value) {
            addCriterion("card_no <>", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoGreaterThan(String value) {
            addCriterion("card_no >", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoGreaterThanOrEqualTo(String value) {
            addCriterion("card_no >=", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoLessThan(String value) {
            addCriterion("card_no <", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoLessThanOrEqualTo(String value) {
            addCriterion("card_no <=", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoLike(String value) {
            addCriterion("card_no like", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotLike(String value) {
            addCriterion("card_no not like", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoIn(List<String> values) {
            addCriterion("card_no in", values, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotIn(List<String> values) {
            addCriterion("card_no not in", values, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoBetween(String value1, String value2) {
            addCriterion("card_no between", value1, value2, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotBetween(String value1, String value2) {
            addCriterion("card_no not between", value1, value2, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthIsNull() {
            addCriterion("card_no_auth is null");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthIsNotNull() {
            addCriterion("card_no_auth is not null");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthEqualTo(Integer value) {
            addCriterion("card_no_auth =", value, "cardNoAuth");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthNotEqualTo(Integer value) {
            addCriterion("card_no_auth <>", value, "cardNoAuth");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthGreaterThan(Integer value) {
            addCriterion("card_no_auth >", value, "cardNoAuth");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthGreaterThanOrEqualTo(Integer value) {
            addCriterion("card_no_auth >=", value, "cardNoAuth");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthLessThan(Integer value) {
            addCriterion("card_no_auth <", value, "cardNoAuth");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthLessThanOrEqualTo(Integer value) {
            addCriterion("card_no_auth <=", value, "cardNoAuth");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthIn(List<Integer> values) {
            addCriterion("card_no_auth in", values, "cardNoAuth");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthNotIn(List<Integer> values) {
            addCriterion("card_no_auth not in", values, "cardNoAuth");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthBetween(Integer value1, Integer value2) {
            addCriterion("card_no_auth between", value1, value2, "cardNoAuth");
            return (Criteria) this;
        }

        public Criteria andCardNoAuthNotBetween(Integer value1, Integer value2) {
            addCriterion("card_no_auth not between", value1, value2, "cardNoAuth");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileAuthIsNull() {
            addCriterion("mobile_auth is null");
            return (Criteria) this;
        }

        public Criteria andMobileAuthIsNotNull() {
            addCriterion("mobile_auth is not null");
            return (Criteria) this;
        }

        public Criteria andMobileAuthEqualTo(Integer value) {
            addCriterion("mobile_auth =", value, "mobileAuth");
            return (Criteria) this;
        }

        public Criteria andMobileAuthNotEqualTo(Integer value) {
            addCriterion("mobile_auth <>", value, "mobileAuth");
            return (Criteria) this;
        }

        public Criteria andMobileAuthGreaterThan(Integer value) {
            addCriterion("mobile_auth >", value, "mobileAuth");
            return (Criteria) this;
        }

        public Criteria andMobileAuthGreaterThanOrEqualTo(Integer value) {
            addCriterion("mobile_auth >=", value, "mobileAuth");
            return (Criteria) this;
        }

        public Criteria andMobileAuthLessThan(Integer value) {
            addCriterion("mobile_auth <", value, "mobileAuth");
            return (Criteria) this;
        }

        public Criteria andMobileAuthLessThanOrEqualTo(Integer value) {
            addCriterion("mobile_auth <=", value, "mobileAuth");
            return (Criteria) this;
        }

        public Criteria andMobileAuthIn(List<Integer> values) {
            addCriterion("mobile_auth in", values, "mobileAuth");
            return (Criteria) this;
        }

        public Criteria andMobileAuthNotIn(List<Integer> values) {
            addCriterion("mobile_auth not in", values, "mobileAuth");
            return (Criteria) this;
        }

        public Criteria andMobileAuthBetween(Integer value1, Integer value2) {
            addCriterion("mobile_auth between", value1, value2, "mobileAuth");
            return (Criteria) this;
        }

        public Criteria andMobileAuthNotBetween(Integer value1, Integer value2) {
            addCriterion("mobile_auth not between", value1, value2, "mobileAuth");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailAuthIsNull() {
            addCriterion("email_auth is null");
            return (Criteria) this;
        }

        public Criteria andEmailAuthIsNotNull() {
            addCriterion("email_auth is not null");
            return (Criteria) this;
        }

        public Criteria andEmailAuthEqualTo(Integer value) {
            addCriterion("email_auth =", value, "emailAuth");
            return (Criteria) this;
        }

        public Criteria andEmailAuthNotEqualTo(Integer value) {
            addCriterion("email_auth <>", value, "emailAuth");
            return (Criteria) this;
        }

        public Criteria andEmailAuthGreaterThan(Integer value) {
            addCriterion("email_auth >", value, "emailAuth");
            return (Criteria) this;
        }

        public Criteria andEmailAuthGreaterThanOrEqualTo(Integer value) {
            addCriterion("email_auth >=", value, "emailAuth");
            return (Criteria) this;
        }

        public Criteria andEmailAuthLessThan(Integer value) {
            addCriterion("email_auth <", value, "emailAuth");
            return (Criteria) this;
        }

        public Criteria andEmailAuthLessThanOrEqualTo(Integer value) {
            addCriterion("email_auth <=", value, "emailAuth");
            return (Criteria) this;
        }

        public Criteria andEmailAuthIn(List<Integer> values) {
            addCriterion("email_auth in", values, "emailAuth");
            return (Criteria) this;
        }

        public Criteria andEmailAuthNotIn(List<Integer> values) {
            addCriterion("email_auth not in", values, "emailAuth");
            return (Criteria) this;
        }

        public Criteria andEmailAuthBetween(Integer value1, Integer value2) {
            addCriterion("email_auth between", value1, value2, "emailAuth");
            return (Criteria) this;
        }

        public Criteria andEmailAuthNotBetween(Integer value1, Integer value2) {
            addCriterion("email_auth not between", value1, value2, "emailAuth");
            return (Criteria) this;
        }

        public Criteria andQqNoIsNull() {
            addCriterion("qq_no is null");
            return (Criteria) this;
        }

        public Criteria andQqNoIsNotNull() {
            addCriterion("qq_no is not null");
            return (Criteria) this;
        }

        public Criteria andQqNoEqualTo(String value) {
            addCriterion("qq_no =", value, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoNotEqualTo(String value) {
            addCriterion("qq_no <>", value, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoGreaterThan(String value) {
            addCriterion("qq_no >", value, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoGreaterThanOrEqualTo(String value) {
            addCriterion("qq_no >=", value, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoLessThan(String value) {
            addCriterion("qq_no <", value, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoLessThanOrEqualTo(String value) {
            addCriterion("qq_no <=", value, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoLike(String value) {
            addCriterion("qq_no like", value, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoNotLike(String value) {
            addCriterion("qq_no not like", value, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoIn(List<String> values) {
            addCriterion("qq_no in", values, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoNotIn(List<String> values) {
            addCriterion("qq_no not in", values, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoBetween(String value1, String value2) {
            addCriterion("qq_no between", value1, value2, "qqNo");
            return (Criteria) this;
        }

        public Criteria andQqNoNotBetween(String value1, String value2) {
            addCriterion("qq_no not between", value1, value2, "qqNo");
            return (Criteria) this;
        }

        public Criteria andWxNoIsNull() {
            addCriterion("wx_no is null");
            return (Criteria) this;
        }

        public Criteria andWxNoIsNotNull() {
            addCriterion("wx_no is not null");
            return (Criteria) this;
        }

        public Criteria andWxNoEqualTo(String value) {
            addCriterion("wx_no =", value, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoNotEqualTo(String value) {
            addCriterion("wx_no <>", value, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoGreaterThan(String value) {
            addCriterion("wx_no >", value, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoGreaterThanOrEqualTo(String value) {
            addCriterion("wx_no >=", value, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoLessThan(String value) {
            addCriterion("wx_no <", value, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoLessThanOrEqualTo(String value) {
            addCriterion("wx_no <=", value, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoLike(String value) {
            addCriterion("wx_no like", value, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoNotLike(String value) {
            addCriterion("wx_no not like", value, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoIn(List<String> values) {
            addCriterion("wx_no in", values, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoNotIn(List<String> values) {
            addCriterion("wx_no not in", values, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoBetween(String value1, String value2) {
            addCriterion("wx_no between", value1, value2, "wxNo");
            return (Criteria) this;
        }

        public Criteria andWxNoNotBetween(String value1, String value2) {
            addCriterion("wx_no not between", value1, value2, "wxNo");
            return (Criteria) this;
        }

        public Criteria andOpenIdIsNull() {
            addCriterion("open_id is null");
            return (Criteria) this;
        }

        public Criteria andOpenIdIsNotNull() {
            addCriterion("open_id is not null");
            return (Criteria) this;
        }

        public Criteria andOpenIdEqualTo(String value) {
            addCriterion("open_id =", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotEqualTo(String value) {
            addCriterion("open_id <>", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdGreaterThan(String value) {
            addCriterion("open_id >", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdGreaterThanOrEqualTo(String value) {
            addCriterion("open_id >=", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLessThan(String value) {
            addCriterion("open_id <", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLessThanOrEqualTo(String value) {
            addCriterion("open_id <=", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLike(String value) {
            addCriterion("open_id like", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotLike(String value) {
            addCriterion("open_id not like", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdIn(List<String> values) {
            addCriterion("open_id in", values, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotIn(List<String> values) {
            addCriterion("open_id not in", values, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdBetween(String value1, String value2) {
            addCriterion("open_id between", value1, value2, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotBetween(String value1, String value2) {
            addCriterion("open_id not between", value1, value2, "openId");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(Integer value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(Integer value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(Integer value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(Integer value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(Integer value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(Integer value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<Integer> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<Integer> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(Integer value1, Integer value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(Integer value1, Integer value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNull() {
            addCriterion("birthday is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNotNull() {
            addCriterion("birthday is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayEqualTo(String value) {
            addCriterion("birthday =", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotEqualTo(String value) {
            addCriterion("birthday <>", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThan(String value) {
            addCriterion("birthday >", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThanOrEqualTo(String value) {
            addCriterion("birthday >=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThan(String value) {
            addCriterion("birthday <", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThanOrEqualTo(String value) {
            addCriterion("birthday <=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLike(String value) {
            addCriterion("birthday like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotLike(String value) {
            addCriterion("birthday not like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayIn(List<String> values) {
            addCriterion("birthday in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotIn(List<String> values) {
            addCriterion("birthday not in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayBetween(String value1, String value2) {
            addCriterion("birthday between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotBetween(String value1, String value2) {
            addCriterion("birthday not between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andAvatarIsNull() {
            addCriterion("avatar is null");
            return (Criteria) this;
        }

        public Criteria andAvatarIsNotNull() {
            addCriterion("avatar is not null");
            return (Criteria) this;
        }

        public Criteria andAvatarEqualTo(String value) {
            addCriterion("avatar =", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotEqualTo(String value) {
            addCriterion("avatar <>", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarGreaterThan(String value) {
            addCriterion("avatar >", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarGreaterThanOrEqualTo(String value) {
            addCriterion("avatar >=", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLessThan(String value) {
            addCriterion("avatar <", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLessThanOrEqualTo(String value) {
            addCriterion("avatar <=", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLike(String value) {
            addCriterion("avatar like", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotLike(String value) {
            addCriterion("avatar not like", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarIn(List<String> values) {
            addCriterion("avatar in", values, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotIn(List<String> values) {
            addCriterion("avatar not in", values, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarBetween(String value1, String value2) {
            addCriterion("avatar between", value1, value2, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotBetween(String value1, String value2) {
            addCriterion("avatar not between", value1, value2, "avatar");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("level is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("level is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Integer value) {
            addCriterion("level =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Integer value) {
            addCriterion("level <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Integer value) {
            addCriterion("level >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("level >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Integer value) {
            addCriterion("level <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Integer value) {
            addCriterion("level <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Integer> values) {
            addCriterion("level in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Integer> values) {
            addCriterion("level not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Integer value1, Integer value2) {
            addCriterion("level between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("level not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdIsNull() {
            addCriterion("supper_user_id is null");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdIsNotNull() {
            addCriterion("supper_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdEqualTo(Long value) {
            addCriterion("supper_user_id =", value, "supperUserId");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdNotEqualTo(Long value) {
            addCriterion("supper_user_id <>", value, "supperUserId");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdGreaterThan(Long value) {
            addCriterion("supper_user_id >", value, "supperUserId");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("supper_user_id >=", value, "supperUserId");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdLessThan(Long value) {
            addCriterion("supper_user_id <", value, "supperUserId");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdLessThanOrEqualTo(Long value) {
            addCriterion("supper_user_id <=", value, "supperUserId");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdIn(List<Long> values) {
            addCriterion("supper_user_id in", values, "supperUserId");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdNotIn(List<Long> values) {
            addCriterion("supper_user_id not in", values, "supperUserId");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdBetween(Long value1, Long value2) {
            addCriterion("supper_user_id between", value1, value2, "supperUserId");
            return (Criteria) this;
        }

        public Criteria andSupperUserIdNotBetween(Long value1, Long value2) {
            addCriterion("supper_user_id not between", value1, value2, "supperUserId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdIsNull() {
            addCriterion("device_serial_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdIsNotNull() {
            addCriterion("device_serial_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdEqualTo(String value) {
            addCriterion("device_serial_id =", value, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdNotEqualTo(String value) {
            addCriterion("device_serial_id <>", value, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdGreaterThan(String value) {
            addCriterion("device_serial_id >", value, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdGreaterThanOrEqualTo(String value) {
            addCriterion("device_serial_id >=", value, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdLessThan(String value) {
            addCriterion("device_serial_id <", value, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdLessThanOrEqualTo(String value) {
            addCriterion("device_serial_id <=", value, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdLike(String value) {
            addCriterion("device_serial_id like", value, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdNotLike(String value) {
            addCriterion("device_serial_id not like", value, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdIn(List<String> values) {
            addCriterion("device_serial_id in", values, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdNotIn(List<String> values) {
            addCriterion("device_serial_id not in", values, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdBetween(String value1, String value2) {
            addCriterion("device_serial_id between", value1, value2, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceSerialIdNotBetween(String value1, String value2) {
            addCriterion("device_serial_id not between", value1, value2, "deviceSerialId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("device_id like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("device_id not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionIsNull() {
            addCriterion("phone_system_version is null");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionIsNotNull() {
            addCriterion("phone_system_version is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionEqualTo(String value) {
            addCriterion("phone_system_version =", value, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionNotEqualTo(String value) {
            addCriterion("phone_system_version <>", value, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionGreaterThan(String value) {
            addCriterion("phone_system_version >", value, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionGreaterThanOrEqualTo(String value) {
            addCriterion("phone_system_version >=", value, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionLessThan(String value) {
            addCriterion("phone_system_version <", value, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionLessThanOrEqualTo(String value) {
            addCriterion("phone_system_version <=", value, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionLike(String value) {
            addCriterion("phone_system_version like", value, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionNotLike(String value) {
            addCriterion("phone_system_version not like", value, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionIn(List<String> values) {
            addCriterion("phone_system_version in", values, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionNotIn(List<String> values) {
            addCriterion("phone_system_version not in", values, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionBetween(String value1, String value2) {
            addCriterion("phone_system_version between", value1, value2, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andPhoneSystemVersionNotBetween(String value1, String value2) {
            addCriterion("phone_system_version not between", value1, value2, "phoneSystemVersion");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNull() {
            addCriterion("device_type is null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNotNull() {
            addCriterion("device_type is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeEqualTo(Integer value) {
            addCriterion("device_type =", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotEqualTo(Integer value) {
            addCriterion("device_type <>", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThan(Integer value) {
            addCriterion("device_type >", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("device_type >=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThan(Integer value) {
            addCriterion("device_type <", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThanOrEqualTo(Integer value) {
            addCriterion("device_type <=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIn(List<Integer> values) {
            addCriterion("device_type in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotIn(List<Integer> values) {
            addCriterion("device_type not in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeBetween(Integer value1, Integer value2) {
            addCriterion("device_type between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("device_type not between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andChannelIsNull() {
            addCriterion("channel is null");
            return (Criteria) this;
        }

        public Criteria andChannelIsNotNull() {
            addCriterion("channel is not null");
            return (Criteria) this;
        }

        public Criteria andChannelEqualTo(String value) {
            addCriterion("channel =", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotEqualTo(String value) {
            addCriterion("channel <>", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelGreaterThan(String value) {
            addCriterion("channel >", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelGreaterThanOrEqualTo(String value) {
            addCriterion("channel >=", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelLessThan(String value) {
            addCriterion("channel <", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelLessThanOrEqualTo(String value) {
            addCriterion("channel <=", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelLike(String value) {
            addCriterion("channel like", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotLike(String value) {
            addCriterion("channel not like", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelIn(List<String> values) {
            addCriterion("channel in", values, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotIn(List<String> values) {
            addCriterion("channel not in", values, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelBetween(String value1, String value2) {
            addCriterion("channel between", value1, value2, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotBetween(String value1, String value2) {
            addCriterion("channel not between", value1, value2, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelIdIsNull() {
            addCriterion("channel_id is null");
            return (Criteria) this;
        }

        public Criteria andChannelIdIsNotNull() {
            addCriterion("channel_id is not null");
            return (Criteria) this;
        }

        public Criteria andChannelIdEqualTo(Integer value) {
            addCriterion("channel_id =", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdNotEqualTo(Integer value) {
            addCriterion("channel_id <>", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdGreaterThan(Integer value) {
            addCriterion("channel_id >", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("channel_id >=", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdLessThan(Integer value) {
            addCriterion("channel_id <", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdLessThanOrEqualTo(Integer value) {
            addCriterion("channel_id <=", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdIn(List<Integer> values) {
            addCriterion("channel_id in", values, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdNotIn(List<Integer> values) {
            addCriterion("channel_id not in", values, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdBetween(Integer value1, Integer value2) {
            addCriterion("channel_id between", value1, value2, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdNotBetween(Integer value1, Integer value2) {
            addCriterion("channel_id not between", value1, value2, "channelId");
            return (Criteria) this;
        }

        public Criteria andSaltIsNull() {
            addCriterion("salt is null");
            return (Criteria) this;
        }

        public Criteria andSaltIsNotNull() {
            addCriterion("salt is not null");
            return (Criteria) this;
        }

        public Criteria andSaltEqualTo(String value) {
            addCriterion("salt =", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotEqualTo(String value) {
            addCriterion("salt <>", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltGreaterThan(String value) {
            addCriterion("salt >", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltGreaterThanOrEqualTo(String value) {
            addCriterion("salt >=", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLessThan(String value) {
            addCriterion("salt <", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLessThanOrEqualTo(String value) {
            addCriterion("salt <=", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLike(String value) {
            addCriterion("salt like", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotLike(String value) {
            addCriterion("salt not like", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltIn(List<String> values) {
            addCriterion("salt in", values, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotIn(List<String> values) {
            addCriterion("salt not in", values, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltBetween(String value1, String value2) {
            addCriterion("salt between", value1, value2, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotBetween(String value1, String value2) {
            addCriterion("salt not between", value1, value2, "salt");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdIsNull() {
            addCriterion("registration_id is null");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdIsNotNull() {
            addCriterion("registration_id is not null");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdEqualTo(String value) {
            addCriterion("registration_id =", value, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdNotEqualTo(String value) {
            addCriterion("registration_id <>", value, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdGreaterThan(String value) {
            addCriterion("registration_id >", value, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdGreaterThanOrEqualTo(String value) {
            addCriterion("registration_id >=", value, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdLessThan(String value) {
            addCriterion("registration_id <", value, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdLessThanOrEqualTo(String value) {
            addCriterion("registration_id <=", value, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdLike(String value) {
            addCriterion("registration_id like", value, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdNotLike(String value) {
            addCriterion("registration_id not like", value, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdIn(List<String> values) {
            addCriterion("registration_id in", values, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdNotIn(List<String> values) {
            addCriterion("registration_id not in", values, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdBetween(String value1, String value2) {
            addCriterion("registration_id between", value1, value2, "registrationId");
            return (Criteria) this;
        }

        public Criteria andRegistrationIdNotBetween(String value1, String value2) {
            addCriterion("registration_id not between", value1, value2, "registrationId");
            return (Criteria) this;
        }

        public Criteria andToWalletIsNull() {
            addCriterion("to_wallet is null");
            return (Criteria) this;
        }

        public Criteria andToWalletIsNotNull() {
            addCriterion("to_wallet is not null");
            return (Criteria) this;
        }

        public Criteria andToWalletEqualTo(Integer value) {
            addCriterion("to_wallet =", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletNotEqualTo(Integer value) {
            addCriterion("to_wallet <>", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletGreaterThan(Integer value) {
            addCriterion("to_wallet >", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletGreaterThanOrEqualTo(Integer value) {
            addCriterion("to_wallet >=", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletLessThan(Integer value) {
            addCriterion("to_wallet <", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletLessThanOrEqualTo(Integer value) {
            addCriterion("to_wallet <=", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletIn(List<Integer> values) {
            addCriterion("to_wallet in", values, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletNotIn(List<Integer> values) {
            addCriterion("to_wallet not in", values, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletBetween(Integer value1, Integer value2) {
            addCriterion("to_wallet between", value1, value2, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletNotBetween(Integer value1, Integer value2) {
            addCriterion("to_wallet not between", value1, value2, "toWallet");
            return (Criteria) this;
        }

        public Criteria andNewmoneyIsNull() {
            addCriterion("newmoney is null");
            return (Criteria) this;
        }

        public Criteria andNewmoneyIsNotNull() {
            addCriterion("newmoney is not null");
            return (Criteria) this;
        }

        public Criteria andNewmoneyEqualTo(Integer value) {
            addCriterion("newmoney =", value, "newmoney");
            return (Criteria) this;
        }

        public Criteria andNewmoneyNotEqualTo(Integer value) {
            addCriterion("newmoney <>", value, "newmoney");
            return (Criteria) this;
        }

        public Criteria andNewmoneyGreaterThan(Integer value) {
            addCriterion("newmoney >", value, "newmoney");
            return (Criteria) this;
        }

        public Criteria andNewmoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("newmoney >=", value, "newmoney");
            return (Criteria) this;
        }

        public Criteria andNewmoneyLessThan(Integer value) {
            addCriterion("newmoney <", value, "newmoney");
            return (Criteria) this;
        }

        public Criteria andNewmoneyLessThanOrEqualTo(Integer value) {
            addCriterion("newmoney <=", value, "newmoney");
            return (Criteria) this;
        }

        public Criteria andNewmoneyIn(List<Integer> values) {
            addCriterion("newmoney in", values, "newmoney");
            return (Criteria) this;
        }

        public Criteria andNewmoneyNotIn(List<Integer> values) {
            addCriterion("newmoney not in", values, "newmoney");
            return (Criteria) this;
        }

        public Criteria andNewmoneyBetween(Integer value1, Integer value2) {
            addCriterion("newmoney between", value1, value2, "newmoney");
            return (Criteria) this;
        }

        public Criteria andNewmoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("newmoney not between", value1, value2, "newmoney");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNull() {
            addCriterion("add_user_id is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNotNull() {
            addCriterion("add_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdEqualTo(Long value) {
            addCriterion("add_user_id =", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotEqualTo(Long value) {
            addCriterion("add_user_id <>", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThan(Long value) {
            addCriterion("add_user_id >", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("add_user_id >=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThan(Long value) {
            addCriterion("add_user_id <", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanOrEqualTo(Long value) {
            addCriterion("add_user_id <=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIn(List<Long> values) {
            addCriterion("add_user_id in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotIn(List<Long> values) {
            addCriterion("add_user_id not in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdBetween(Long value1, Long value2) {
            addCriterion("add_user_id between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotBetween(Long value1, Long value2) {
            addCriterion("add_user_id not between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdIsNull() {
            addCriterion("modify_user_id is null");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdIsNotNull() {
            addCriterion("modify_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdEqualTo(Long value) {
            addCriterion("modify_user_id =", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdNotEqualTo(Long value) {
            addCriterion("modify_user_id <>", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdGreaterThan(Long value) {
            addCriterion("modify_user_id >", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("modify_user_id >=", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdLessThan(Long value) {
            addCriterion("modify_user_id <", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdLessThanOrEqualTo(Long value) {
            addCriterion("modify_user_id <=", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdIn(List<Long> values) {
            addCriterion("modify_user_id in", values, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdNotIn(List<Long> values) {
            addCriterion("modify_user_id not in", values, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdBetween(Long value1, Long value2) {
            addCriterion("modify_user_id between", value1, value2, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdNotBetween(Long value1, Long value2) {
            addCriterion("modify_user_id not between", value1, value2, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andAppVersionIsNull() {
            addCriterion("app_version is null");
            return (Criteria) this;
        }

        public Criteria andAppVersionIsNotNull() {
            addCriterion("app_version is not null");
            return (Criteria) this;
        }

        public Criteria andAppVersionEqualTo(String value) {
            addCriterion("app_version =", value, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionNotEqualTo(String value) {
            addCriterion("app_version <>", value, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionGreaterThan(String value) {
            addCriterion("app_version >", value, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionGreaterThanOrEqualTo(String value) {
            addCriterion("app_version >=", value, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionLessThan(String value) {
            addCriterion("app_version <", value, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionLessThanOrEqualTo(String value) {
            addCriterion("app_version <=", value, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionLike(String value) {
            addCriterion("app_version like", value, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionNotLike(String value) {
            addCriterion("app_version not like", value, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionIn(List<String> values) {
            addCriterion("app_version in", values, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionNotIn(List<String> values) {
            addCriterion("app_version not in", values, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionBetween(String value1, String value2) {
            addCriterion("app_version between", value1, value2, "appVersion");
            return (Criteria) this;
        }

        public Criteria andAppVersionNotBetween(String value1, String value2) {
            addCriterion("app_version not between", value1, value2, "appVersion");
            return (Criteria) this;
        }

        public Criteria andInviteIsNull() {
            addCriterion("invite is null");
            return (Criteria) this;
        }

        public Criteria andInviteIsNotNull() {
            addCriterion("invite is not null");
            return (Criteria) this;
        }

        public Criteria andInviteEqualTo(String value) {
            addCriterion("invite =", value, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteNotEqualTo(String value) {
            addCriterion("invite <>", value, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteGreaterThan(String value) {
            addCriterion("invite >", value, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteGreaterThanOrEqualTo(String value) {
            addCriterion("invite >=", value, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteLessThan(String value) {
            addCriterion("invite <", value, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteLessThanOrEqualTo(String value) {
            addCriterion("invite <=", value, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteLike(String value) {
            addCriterion("invite like", value, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteNotLike(String value) {
            addCriterion("invite not like", value, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteIn(List<String> values) {
            addCriterion("invite in", values, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteNotIn(List<String> values) {
            addCriterion("invite not in", values, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteBetween(String value1, String value2) {
            addCriterion("invite between", value1, value2, "invite");
            return (Criteria) this;
        }

        public Criteria andInviteNotBetween(String value1, String value2) {
            addCriterion("invite not between", value1, value2, "invite");
            return (Criteria) this;
        }

        public Criteria andInvitedIsNull() {
            addCriterion("invited is null");
            return (Criteria) this;
        }

        public Criteria andInvitedIsNotNull() {
            addCriterion("invited is not null");
            return (Criteria) this;
        }

        public Criteria andInvitedEqualTo(String value) {
            addCriterion("invited =", value, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedNotEqualTo(String value) {
            addCriterion("invited <>", value, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedGreaterThan(String value) {
            addCriterion("invited >", value, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedGreaterThanOrEqualTo(String value) {
            addCriterion("invited >=", value, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedLessThan(String value) {
            addCriterion("invited <", value, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedLessThanOrEqualTo(String value) {
            addCriterion("invited <=", value, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedLike(String value) {
            addCriterion("invited like", value, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedNotLike(String value) {
            addCriterion("invited not like", value, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedIn(List<String> values) {
            addCriterion("invited in", values, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedNotIn(List<String> values) {
            addCriterion("invited not in", values, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedBetween(String value1, String value2) {
            addCriterion("invited between", value1, value2, "invited");
            return (Criteria) this;
        }

        public Criteria andInvitedNotBetween(String value1, String value2) {
            addCriterion("invited not between", value1, value2, "invited");
            return (Criteria) this;
        }

        public Criteria andBirthIsNull() {
            addCriterion("birth is null");
            return (Criteria) this;
        }

        public Criteria andBirthIsNotNull() {
            addCriterion("birth is not null");
            return (Criteria) this;
        }

        public Criteria andBirthEqualTo(String value) {
            addCriterion("birth =", value, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthNotEqualTo(String value) {
            addCriterion("birth <>", value, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthGreaterThan(String value) {
            addCriterion("birth >", value, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthGreaterThanOrEqualTo(String value) {
            addCriterion("birth >=", value, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthLessThan(String value) {
            addCriterion("birth <", value, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthLessThanOrEqualTo(String value) {
            addCriterion("birth <=", value, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthLike(String value) {
            addCriterion("birth like", value, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthNotLike(String value) {
            addCriterion("birth not like", value, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthIn(List<String> values) {
            addCriterion("birth in", values, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthNotIn(List<String> values) {
            addCriterion("birth not in", values, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthBetween(String value1, String value2) {
            addCriterion("birth between", value1, value2, "birth");
            return (Criteria) this;
        }

        public Criteria andBirthNotBetween(String value1, String value2) {
            addCriterion("birth not between", value1, value2, "birth");
            return (Criteria) this;
        }

        public Criteria andChannelWebIsNull() {
            addCriterion("channel_web is null");
            return (Criteria) this;
        }

        public Criteria andChannelWebIsNotNull() {
            addCriterion("channel_web is not null");
            return (Criteria) this;
        }

        public Criteria andChannelWebEqualTo(String value) {
            addCriterion("channel_web =", value, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebNotEqualTo(String value) {
            addCriterion("channel_web <>", value, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebGreaterThan(String value) {
            addCriterion("channel_web >", value, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebGreaterThanOrEqualTo(String value) {
            addCriterion("channel_web >=", value, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebLessThan(String value) {
            addCriterion("channel_web <", value, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebLessThanOrEqualTo(String value) {
            addCriterion("channel_web <=", value, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebLike(String value) {
            addCriterion("channel_web like", value, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebNotLike(String value) {
            addCriterion("channel_web not like", value, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebIn(List<String> values) {
            addCriterion("channel_web in", values, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebNotIn(List<String> values) {
            addCriterion("channel_web not in", values, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebBetween(String value1, String value2) {
            addCriterion("channel_web between", value1, value2, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebNotBetween(String value1, String value2) {
            addCriterion("channel_web not between", value1, value2, "channelWeb");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdIsNull() {
            addCriterion("channel_web_id is null");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdIsNotNull() {
            addCriterion("channel_web_id is not null");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdEqualTo(Integer value) {
            addCriterion("channel_web_id =", value, "channelWebId");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdNotEqualTo(Integer value) {
            addCriterion("channel_web_id <>", value, "channelWebId");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdGreaterThan(Integer value) {
            addCriterion("channel_web_id >", value, "channelWebId");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("channel_web_id >=", value, "channelWebId");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdLessThan(Integer value) {
            addCriterion("channel_web_id <", value, "channelWebId");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdLessThanOrEqualTo(Integer value) {
            addCriterion("channel_web_id <=", value, "channelWebId");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdIn(List<Integer> values) {
            addCriterion("channel_web_id in", values, "channelWebId");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdNotIn(List<Integer> values) {
            addCriterion("channel_web_id not in", values, "channelWebId");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdBetween(Integer value1, Integer value2) {
            addCriterion("channel_web_id between", value1, value2, "channelWebId");
            return (Criteria) this;
        }

        public Criteria andChannelWebIdNotBetween(Integer value1, Integer value2) {
            addCriterion("channel_web_id not between", value1, value2, "channelWebId");
            return (Criteria) this;
        }

        public Criteria andMgeacctidIsNull() {
            addCriterion("mgeAcctId is null");
            return (Criteria) this;
        }

        public Criteria andMgeacctidIsNotNull() {
            addCriterion("mgeAcctId is not null");
            return (Criteria) this;
        }

        public Criteria andMgeacctidEqualTo(String value) {
            addCriterion("mgeAcctId =", value, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidNotEqualTo(String value) {
            addCriterion("mgeAcctId <>", value, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidGreaterThan(String value) {
            addCriterion("mgeAcctId >", value, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidGreaterThanOrEqualTo(String value) {
            addCriterion("mgeAcctId >=", value, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidLessThan(String value) {
            addCriterion("mgeAcctId <", value, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidLessThanOrEqualTo(String value) {
            addCriterion("mgeAcctId <=", value, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidLike(String value) {
            addCriterion("mgeAcctId like", value, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidNotLike(String value) {
            addCriterion("mgeAcctId not like", value, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidIn(List<String> values) {
            addCriterion("mgeAcctId in", values, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidNotIn(List<String> values) {
            addCriterion("mgeAcctId not in", values, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidBetween(String value1, String value2) {
            addCriterion("mgeAcctId between", value1, value2, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andMgeacctidNotBetween(String value1, String value2) {
            addCriterion("mgeAcctId not between", value1, value2, "mgeacctid");
            return (Criteria) this;
        }

        public Criteria andUsertypeIsNull() {
            addCriterion("userType is null");
            return (Criteria) this;
        }

        public Criteria andUsertypeIsNotNull() {
            addCriterion("userType is not null");
            return (Criteria) this;
        }

        public Criteria andUsertypeEqualTo(Integer value) {
            addCriterion("userType =", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeNotEqualTo(Integer value) {
            addCriterion("userType <>", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeGreaterThan(Integer value) {
            addCriterion("userType >", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("userType >=", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeLessThan(Integer value) {
            addCriterion("userType <", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeLessThanOrEqualTo(Integer value) {
            addCriterion("userType <=", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeIn(List<Integer> values) {
            addCriterion("userType in", values, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeNotIn(List<Integer> values) {
            addCriterion("userType not in", values, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeBetween(Integer value1, Integer value2) {
            addCriterion("userType between", value1, value2, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeNotBetween(Integer value1, Integer value2) {
            addCriterion("userType not between", value1, value2, "usertype");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}